package com.lsp.base.utils.imageloader;

import android.content.Context;
import android.widget.ImageView;

/**
 * @author com.lsp.ibxs
 * @created 16/11/9 17:39
 */
public abstract class ImageLoaderBuilder {

  abstract public ImageLoaderBuilder context(Context context);

  abstract public ImageLoaderBuilder imageUrl(String imageUrl);

  abstract public ImageLoaderBuilder options(WyImageOptions options);

  abstract public ImageLoaderBuilder transform(Object transform);

  abstract public ImageLoaderBuilder listen(ImageLoaderListener imageLoaderListener);

  /**
   * ImageView中显示图片
   *
   * @param targetView ImageView
   */
  abstract public void display(ImageView targetView);

  abstract public void download(Object target);
}
